<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-control" content="no-cache">
    <meta http-equiv="Cache" content="no-cache">
    <title>智能进出口服务平台</title>
    <link rel="shortcut icon" type="image/x-icon" href="/images/logo.ico" />
    <link rel="stylesheet" type="text/css" href="/layui/css/layui.css?v=202001010101" />
    <link rel="stylesheet" type="text/css" href="/css/font-awesome.min.css?v=202001010101" />
    <link rel="stylesheet" type="text/css" href="/css/style.css?v=202001010101">
</head>
<body>
<div class="tsf-content">
    <div class="tsf-list-top">
        <div class="tsf-query">
            <form class="layui-form query-form no-title" method="post">
                <div class="layui-row">
                    <div class="layui-col-md3">
                        <input type="text" name="code" id="code" class="layui-input" placeholder="工号" clear-val/>
                    </div>
                    <div class="layui-col-md3">
                        <div class="layui-col-md4 spacing">
                            <input type="text" name="name" id="name" class="layui-input" placeholder="姓名" clear-val/>
                        </div>
                        <div class="layui-col-md8 spacing">
                            <input type="text" name="customerName" id="customerName" class="layui-input" placeholder="客户名称" clear-val/>
                        </div>
                    </div>
                    <div class="layui-col-md3">
                        <div class="layui-col-md4 spacing">
                            <select id="channel" name="channel" lay-filter="channel">
                                <option value="manager">管理端</option>
                                <option value="client">客户端</option>
                                <!--
                                <option value="sale">销售端</option>
                                -->
                            </select>
                        </div>
                        <div class="layui-col-md4 spacing">
                            <select id="incumbency" name="incumbency">
                                <option value="">在职状态</option>
                                <option value="true">在职</option>
                                <option value="false">离职</option>
                            </select>
                        </div>
                        <div class="layui-col-md4 spacing">
                            <select id="isDelete" name="isDelete">
                                <option value="">是否删除</option>
                                <option value="false">未删除</option>
                                <option value="true">已删除</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-col-md3">
                        <button type="button" class="layui-btn search-btn"><i class="fa fa-search"></i>查询</button>
                        <button type="button" class="layui-btn layui-btn-primary refresh-btn"><i class="fa fa-refresh"></i>刷新</button>
                    </div>
                </div>
            </form>
        </div>
        <div class="tsf-operation">
            <div class="layui-btn-group operation-btn"></div>
        </div>
    </div>
    <div class="tsf-list">
        <table class="layui-hide" id="table-list" lay-filter="table-list"></table>
    </div>
</div>
<script type="text/html" id="incumbencyTemp">
    {{#if(d.incumbency==true){}}
    <input type="checkbox" lay-skin="switch" lay-filter="switchIncumbency" checked value="{{d.id}}" lay-text="在职|离职"/>
    {{#}else{ }}
    <input type="checkbox" lay-skin="switch" lay-filter="switchIncumbency" value="{{d.id}}" lay-text="在职|离职"/>
    {{#}}}
    <div id="in{{d.id}}"></div>
</script>
<script type="text/html" id="genderTemp">
    {{#if(d.gender == 'man'){}}
    <i class="fa fa-mars-stroke blue-a"></i>
    {{#}else if(d.gender == 'femal'){ }}
    <i class="fa fa-neuter red-a"></i>
    {{#}else{ }}
    <i class="fa fa-genderless"></i>
    {{#}}}
    {{d.genderName}}
</script>
<script type="text/html" id="deleteTemp">
    {{#if(d.isDelete==true){}}
    <span class="layui-badge">是</span>
    {{#}else{ }}
    <span class="layui-badge layui-bg-gray">否</span>
    {{#}}}
</script>
<script type="text/html" id="codeTemp">
<a href="javascript:" onclick="showDetail('{{d.id}}')" class="blue-a">{{d.code}}</a>
</script>
<script type="text/javascript" src="/js/jquery.min.js?v=202001010101"></script>
<script type="text/javascript" src="/layui/layui.js?v=202001010101"></script>
<script type="text/javascript" src="/js/app.js?v=202006010928"></script>
<script type="text/javascript" src="/user/person/list.js?v=20210121154601"></script>
</body>
</html>